package com.ruoyi.system.service.college.impl;

import java.util.List;

import com.ruoyi.system.domain.college.Statistics.MeetingHoldingStatistics;
import com.ruoyi.system.mapper.award.research.MeetingHoldingStatisticsMapper;
import com.ruoyi.system.service.college.IMeetingHoldingStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 会议举办情况统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-11-24
 */
@Service
public class MeetingHoldingStatisticsServiceImpl implements IMeetingHoldingStatisticsService
{
    @Autowired
    private MeetingHoldingStatisticsMapper meetingHoldingStatisticsMapper;

    /**
     * 查询会议举办情况统计
     * 
     * @param id 会议举办情况统计主键
     * @return 会议举办情况统计
     */
    @Override
    public MeetingHoldingStatistics selectMeetingHoldingStatisticsById(Integer id)
    {
        return meetingHoldingStatisticsMapper.selectMeetingHoldingStatisticsById(id);
    }

    /**
     * 查询会议举办情况统计列表
     * 
     * @param meetingHoldingStatistics 会议举办情况统计
     * @return 会议举办情况统计
     */
    @Override
    public List<MeetingHoldingStatistics> selectMeetingHoldingStatisticsList(MeetingHoldingStatistics meetingHoldingStatistics)
    {
        return meetingHoldingStatisticsMapper.selectMeetingHoldingStatisticsList(meetingHoldingStatistics);
    }

    /**
     * 新增会议举办情况统计
     * 
     * @param meetingHoldingStatistics 会议举办情况统计
     * @return 结果
     */
    @Override
    public int insertMeetingHoldingStatistics(MeetingHoldingStatistics meetingHoldingStatistics)
    {
        return meetingHoldingStatisticsMapper.insertMeetingHoldingStatistics(meetingHoldingStatistics);
    }

    /**
     * 修改会议举办情况统计
     * 
     * @param meetingHoldingStatistics 会议举办情况统计
     * @return 结果
     */
    @Override
    public int updateMeetingHoldingStatistics(MeetingHoldingStatistics meetingHoldingStatistics)
    {
        return meetingHoldingStatisticsMapper.updateMeetingHoldingStatistics(meetingHoldingStatistics);
    }

    /**
     * 批量删除会议举办情况统计
     * 
     * @param ids 需要删除的会议举办情况统计主键
     * @return 结果
     */
    @Override
    public int deleteMeetingHoldingStatisticsByIds(Integer[] ids)
    {
        return meetingHoldingStatisticsMapper.deleteMeetingHoldingStatisticsByIds(ids);
    }

    /**
     * 删除会议举办情况统计信息
     * 
     * @param id 会议举办情况统计主键
     * @return 结果
     */
    @Override
    public int deleteMeetingHoldingStatisticsById(Integer id)
    {
        return meetingHoldingStatisticsMapper.deleteMeetingHoldingStatisticsById(id);
    }
}
